package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisFreightPrice;
import cn.gzjp.modules.logis.dao.LogisFreightPriceDao;

/**
 * 城市运费单价Service
 * @author zengcp
 * @version 2018-05-24
 */
@Service
@Transactional(readOnly = true)
public class LogisFreightPriceService extends CrudService<LogisFreightPriceDao, LogisFreightPrice> {

	public LogisFreightPrice get(String id) {
		return super.get(id);
	}
	
	public List<LogisFreightPrice> findList(LogisFreightPrice logisFreightPrice) {
		return super.findList(logisFreightPrice);
	}
	
	public Page<LogisFreightPrice> findPage(Page<LogisFreightPrice> page, LogisFreightPrice logisFreightPrice) {
		return super.findPage(page, logisFreightPrice);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisFreightPrice logisFreightPrice) {
		super.save(logisFreightPrice);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisFreightPrice logisFreightPrice) {
		super.deleteByLogic(logisFreightPrice);
	}
	
}